package com.plan.service.card;

import com.plan.base.entity.Result;
import com.plan.controller.user.response.UserVO;
import com.plan.controller.card.request.BaseReq;
import com.plan.controller.card.response.CardListVO;
import com.plan.entity.card.Card;

import java.util.List;

public interface CardService {

    Result<Long> insert(Card card);

    Result<Long> update(Card card);

    Result<Long> delete(BaseReq req, UserVO vo);

    Result<List<CardListVO>> list(Long teamId);
}
